package com.zzs.judge.constants;

/**
 * @author zzs
 * @date 2025/03/28
 */
public class DockerConsts {
    public static final String WINDOW_SEPARATOR = "\\";

    public static final String LINUX_SEPARATOR = "/";

    public static final String LOCAL_CODE_DIR = System.getProperty("user.dir") + "\\judge\\user_code";

    public static final String DOCKER_CODE_DIR = "/usr/share";

    public static final String JAVA_IMAGE_NAME = "openjdk";

    public static final String JAVA_IMAGE_VERSION = "17";

    public static final String JAVA_IMAGE = JAVA_IMAGE_NAME + ":" + JAVA_IMAGE_VERSION;

    public static final String JAVA_CONTAINER_NAME_PREFIX = "oj-java-judge-";


    public static final String FASTJSON2_JAR = "fastjson2-2.0.56.jar";

    public static final String FASTJSON2_JAR_DOWNLOAD_URL = "https://repo1.maven.org/maven2/com/alibaba/fastjson2/fastjson2/2.0.56/fastjson2-2.0.56.jar";

    public static final String LOMBOK_JAR = "lombok-1.18.36.jar";

    public static final String LOMBOK_JAR_DOWNLOAD_URL = "https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.36/lombok-1.18.36.jar";


    public static final String JAVA_CLASS_NAME = "Solution.java";

    public static final String JAVA_FILE_NAME = "Solution";

    public static final String LOCAL_JAVA_CODE_DIR = LOCAL_CODE_DIR + WINDOW_SEPARATOR + "java";

    public static final String LOCAL_JAVA_LIBS_DIR = LOCAL_JAVA_CODE_DIR + WINDOW_SEPARATOR + "libs";

    public static final String TEST_CASE_FILE = "test_cases.txt";
}
